package com.ruoyi.baseMain.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户合同业务对象 base_contract
 *
 * @author linziheng
 * @date 2023-12-31
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BaseContractBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 客户ID
     */
    @NotNull(message = "客户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long customId;

    /**
     * 合同简称
     */
    @NotBlank(message = "合同简称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contractName;

    /**
     * 备注
     */
    private String remark;


}
